package com.example.chat.model.ro;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Description
 * @Date 2022/11/14 10:17
 * @Author pq
 */
@Data
public class UserSelectRo {

    /**
     * 用户编号
     */
    @ApiModelProperty(value = "userNumber")
    @NotBlank(message = "用户账号不能为空")
    private String account;

    /**
     * 用户昵称
     */
    @ApiModelProperty(value = "nickname")
    @NotBlank(message = "昵称不能为空")
    private String nickname;

    /**
     * 头像url
     */
    @ApiModelProperty(value = "userAvatar")
    @NotBlank(message = "头像不能为空")
    private String avatar;

    @ApiModelProperty(value="searchValue")
    private String searchValue;

}
